﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataMode;

namespace IDAL
{
    public interface IVideo
    {
        void InsertVideo(video video);
        video findVideo(int id);
        void updateVideo(video newVideo);
        IOrderedQueryable GetAllVideos();
        IOrderedQueryable GetVideosByAlbum(int albumID, string username);
        void DeleteVideo(int id);

        void RenameVideoByVideoID(int VideoID, string videoName);

        IOrderedQueryable GetHotVideo();
    }
}
